package cn.edu.sdjzu.xg23.kcsj01_backend.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee implements Actor {
    private Long id;
    private String phoneNumber;
    private String email;
    private String name;
    private Department department;//所属教研室
    @JsonIgnore
    private User user;
}
